<template>
    <router-view></router-view>
</template>

<script setup>
//request
import $http from "@/api/request";
import { provide } from "@vue/runtime-core";
provide("http", $http);
//mockRequest
import $mockHttp from "@/api/mockRequest";
provide("mockHttp", $mockHttp);
//echarts
import * as echarts from "echarts";
import chalk from "@/assets/theme/chalk";
import vintage from "@/assets/theme/vintage";
provide("chart", echarts);
echarts.registerTheme("chalk", chalk);
echarts.registerTheme("vintage", vintage);
//webSocket
import SocketService from "./utils/socket_service";
provide("SocketService", SocketService.Instance);
</script>

<style lang="scss">
</style>
